package cn.fuxue.hrms.common.entity;

/**
 * @author 王文勇
 * @version 1.0
 */
public class SalaryStructure {

    // ID（pk）
    private int id;
    // 员工 ID
    private String employeeId;
    // 标准 ID
    private String scaleId;
    // 社保基数
    private String socialSecurityBase;
    // 津贴总额
    private String amountAllowance;
    // 绩效系数
    private String performanceFactor;

    // 无参构造函数
    public SalaryStructure() {
    }

    // 全参构造函数
    public SalaryStructure(int id, String employeeId, String scaleId, String socialSecurityBase,
                           String amountAllowance, String performanceFactor) {
        this.id = id;
        this.employeeId = employeeId;
        this.scaleId = scaleId;
        this.socialSecurityBase = socialSecurityBase;
        this.amountAllowance = amountAllowance;
        this.performanceFactor = performanceFactor;
    }

    // Getter 方法
    public int getId() {
        return id;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public String getScaleId() {
        return scaleId;
    }

    public String getSocialSecurityBase() {
        return socialSecurityBase;
    }

    public String getAmountAllowance() {
        return amountAllowance;
    }

    public String getPerformanceFactor() {
        return performanceFactor;
    }

    // Setter 方法
    public void setId(int id) {
        this.id = id;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public void setScaleId(String scaleId) {
        this.scaleId = scaleId;
    }

    public void setSocialSecurityBase(String socialSecurityBase) {
        this.socialSecurityBase = socialSecurityBase;
    }

    public void setAmountAllowance(String amountAllowance) {
        this.amountAllowance = amountAllowance;
    }

    public void setPerformanceFactor(String performanceFactor) {
        this.performanceFactor = performanceFactor;
    }

    @Override
    public String toString() {
        return "SalaryStructure{" +
                "id=" + id +
                ", employeeId='" + employeeId + '\'' +
                ", scaleId='" + scaleId + '\'' +
                ", socialSecurityBase='" + socialSecurityBase + '\'' +
                ", amountAllowance='" + amountAllowance + '\'' +
                ", performanceFactor='" + performanceFactor + '\'' +
                '}';
    }
}